<template>
    <div class="retrieve">
        <el-container>
            <el-header class="header">
                <div class="re-top">
                    <img src="../../assets//images/logo38.png">
                    <p class="p1">能力开放平台</p>
                    <p class="p2">我已注册，现在就</p>
                    <el-button type="primary" @click="gologin">登录</el-button>
                </div>
                <div class="foot-bj"></div>
            </el-header>
            <div class="mianform">
                <div class="re-main">
                    <router-view />
                </div>
            </div>
            <div class="foot">
                <div class="foot-dev">
                    <router-link to="/retrieve/phone" active-class="active"><i class="el-icon-phone phone"></i></router-link>
                    <router-link to="/retrieve/email" active-class="active"><i class="el-icon-message email"></i></router-link>
                </div>
            </div>
        </el-container>

    </div>
</template>
<script>
export default {
    methods: {
        gologin() {
            this.$router.push("/login")
        },
      
    },
}

</script>
<style scoped lang="scss">
.retrieve {
    height: 100%;
    width: 100%;
}

.header {
    padding: 0;
    position: absolute;
    height: 75px;
    background-color: white;
    width: 100%;

    .re-top {
        height: 60px;
        display: flex;
        align-items: center;
        padding-left: 150px;
        width: 100%;

        img {
            height: 40px;
            width: 40px;
            float: left;
        }

        .p1 {
            width: 200px;
            min-width: 200px;
        }

        .p2 {
            margin-left: 1200px;
            margin-right: 10px;
        }

    }
}

.mianform {
    display: flex;
    justify-self: center;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.re-main {
    margin-top: 150px;
    width: 500px;
    padding: 50px;
    box-sizing: border-box;
}

.foot-bj {
    background-image: url("../../assets/images/foot_bj2.png");
    height: 15px;




}

.foot {
    display: flex;
    justify-self: center;
    width: 100%;
    align-items: center;
    justify-content: center;

    .phone {
        font-size: 40px;
        margin-right: 50px;
       
    }

    .email {
        font-size: 40px;
        
    }
    .foot-dev{
        display: flex;
        width: 200px;
        justify-self: center;
        align-items: center;
       justify-content: center;
      
    }
    .active{
        i{
            border-bottom:5px solid rgb(24, 112, 228);
            color:rgb(24, 112, 228);
        }

    }

}
</style>